package cn.edu.scau.cmi.liweihang.client;


import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class FactoryClient extends Application{
	 @Override
	 public void start(Stage primaryStage) throws Exception {
	  try {
	   Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/liweihang/factory/Factory.fxml"));
	   Scene scene = new Scene(root);
	   primaryStage.setScene(scene);
	   primaryStage.setTitle("Factory");
	   primaryStage.show();
	  } catch (Exception e) {
	   e.printStackTrace();
	  }
	 }

	 public static void main(String[] args) {
	  launch(args);
//		 String name;
//		 Scanner scan=new Scanner(System.in);
//		 for(int i=0;i<12;i++) {
//			 name=scan.nextLine();
//			 Marshal.getInstacne(name);
//			 System.out.println(Marshal.getName());
//		 }
	 }
}
